package com.tx.cms.dao.admin;

import com.tx.cms.manager.AdminManager;

public class AdminLoginDAO implements AdminManager{

	@Override
	public String adminLogin(String id, String username, String password) {
		
		if("001".equals(id) && "tingxu".equals(username) && "tingxu".equals(password)) {		
			return "success";
		} else {
			return "failed";
		}
	}
}
